from django.db import models


class BulkImport(models.Model):
    SELECT = (('user_org', u'人員和組織'),
              ('user_role', u'人員的角色'),
              ('org_level', u'組織級別'))

    select = models.CharField(choices=SELECT, max_length=50)
    file = models.FileField()


class RetrievePWDForm(models.Model):
    username = models.CharField()
    email = models.EmailField()


class SetNewPWDForm(models.Model):
    check_code = models.CharField()
    new_pwd = models.CharField()


class ActiveUserForm(models.Model):
    user_id = models.CharField()
    status_id = models.CharField()


class UpdatePWDForm(models.Model):
    username = models.CharField()
    old_pwd = models.CharField()
    new_pwd = models.CharField()
